home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / graphics / povsrc20.arj / MACHINE / UNIX / SPARC.FIX / POV_FIX.ZIP / UNIX.MAK < prev   
Makefile  |  1992-07-29  |  1KB  |  44 lines

  1. # Makefile for Persistence of Vision Raytracer
  2. #
  3. # Minor mods for gcc on Sun SPARCstation
  4. #
  5. # This file is released to the public domain.
  6. #
  7. #
  8. # MAKE Macros and Such...
  9. #
  10.  
  11. #***************************************************************
  12. #*
  13. #*                      UNIX Makefile
  14. #*
  15. #***************************************************************
  16.  
  17. # The exact options may depend on your compiler.  Feel free to modify
  18. # these as required.
  19. CC              = gcc
  20. OBJ             = o
  21. MACHINE_OBJ    = unix.$(OBJ)
  22. CFLAGS          = -ansi -c -O -I/usr/lib/gcc-include -Dsparc
  23. LFLAGS          = -o ../bin/povray -O /usr/lib/libm.a
  24.  
  25. # Make's implicit rules for making a .o file from a .c file...
  26. #
  27. .c.o :
  28.     $(CC) $(CFLAGS) $*.c
  29.  
  30.  
  31. POVOBJS = povray.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
  32.       objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
  33.       prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) hfield.$(OBJ)\
  34.       txtcolor.$(OBJ) txtbump.$(OBJ) txtmap.$(OBJ) txttest.$(OBJ) \
  35.       colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
  36.       gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) dump.$(OBJ) \
  37.       targa.$(OBJ) poly.$(OBJ) bezier.$(OBJ) vect.$(OBJ) \
  38.           blob.$(OBJ) boxes.$(OBJ) point.$(OBJ) $(MACHINE_OBJ)
  39.  
  40.  
  41. ../bin/povray:    $(POVOBJS)
  42.     $(CC) $(LFLAGS) $(POVOBJS) -lm
  43.  
  44.